/**
 * Copyright(c) 2010 Ceno Techonologies Co., Ltd.
 *
 * History:
 *   15-7-28 下午4:32 Created by piaohh
 */
package com.xunton.bss.weixin.api.message.event.impl;

import javax.inject.Inject;
import javax.inject.Named;

import com.xunton.bss.weixin.api.message.event.CommonEventManager;
import com.xunton.bss.weixin.api.message.event.EventDao;

/**
 *
 * @author <a href="mailto:Administrator@ceno.cn">piaohh</a>
 * @version 1.0 15-7-28 下午4:32
 */
@Named ("weixin_commonEventManager")
public class CommonEventManagerImpl implements CommonEventManager
{
    private EventDao eventDao ;

    @Inject
    public void setEventDao(@Named ("weixin_eventDao") EventDao eventDao)
    {
        this.eventDao = eventDao;
    }

    public long statShakeUvCount(String eventType)
    {
        return eventDao.statShakeUvCount(eventType);
    }
}
